steal (someone's) thunder

Translations
voler la vedette à quelqu’un
Definitions
To take credit for someone else's idea or to preemptively use their idea or advantage, often in a way that diminishes their impact or recognition.